class Review < ActiveRecord::Base
  belongs_to :user
  belongs_to :movie
  
  validates_inclusion_of :score, :in => 1..5
  validates_uniqueness_of :user_id, :scope => :movie_id
#  validates_presence_of :user
#  validates_presence_of :movie
  
end
